package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;

/**
 * 皮带健康配置表
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_health_config")
public class BeltHealthConfig extends BaseEntity<Long> {


    /**
     * 扣分项编码
     */
    @TableField("deduction_code")
    private String deductionCode;

    /**
    * 扣分项
    */
    @TableField("deduction_item")
    private String deductionItem;


    /**
    * 扣分项范围，最大值
    */
    @TableField("deduction_range_max")
    private BigDecimal deductionRangeMax;


    /**
    * 扣分项范围，最小值
    */
    @TableField("deduction_range_min")
    private BigDecimal deductionRangeMin;


    /**
    * 扣分指标单位
    */
    @TableField("unit")
    private String unit;


    /**
    * 扣减分数
    */
    @TableField("deduction_score")
    private BigDecimal deductionScore;


    /**
    * 异常项建议
    */
    @TableField("deduction_suggestion")
    private String deductionSuggestion;


    /**
    * 配置类型，0信号类 1数值范围类
    */
    @TableField("config_type")
    private Integer configType;


    /**
    * 健康类型，0,1,2,机械，健康，五防
    */
    @TableField("health_type")
    private Integer healthType;

    /**
     * 异常等级 0.重大 1.一般 2.轻微
     *
     */
    @TableField("anomaly_level")
    private Integer anomalyLevel;

    /**
     * 是否禁用
     */
    @TableField("disabled")
    private Boolean disabled;



}